package com.ctgu.demo03.service;

import com.ctgu.demo03.entity.StatisticsEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.demo03.utils.ApiResult;

import java.time.LocalDateTime;

/**
* @author Alex2
* @description 针对表【t_statistics】的数据库操作Service
* @createDate 2025-03-11 22:25:48
*/
public interface StatisticsService extends IService<StatisticsEntity> {

    ApiResult insertStatistic(String name, Integer modify);

    ApiResult updateModify(Integer id, Integer modify);

    ApiResult updateModifyTransactional(Integer id, Integer modify, LocalDateTime lastUpdateTime);
}
